<template>
<div>

</div>
</template>

<script>
export default {
  name: "GitView",
  data(){
    return{

    }
  },methods:{

  },created() {
    let str = window.location.href.toString();
    this.axios.get("http://localhost:9100/user/callback?"+str.split("?").at(1)).then(res=>{
      localStorage.setItem("user",JSON.stringify(res.data));
      this.$router.push("/list");
    })
  }
}
</script>

<style scoped>

</style>